package com.lx.pc.service.supplycategory;

import java.math.BigInteger;
import java.util.List;

import com.lx.pc.domain.vo.supplycategory.SupplyCategoryVo;
import com.lx.pc.service.IService;
import com.lx.pc.utils.OmsPage;

public interface ISupplyCategoryService extends IService<SupplyCategoryVo, BigInteger>{

	/**
	 * 查询总数
	 */
	public int findByCategoryCount(SupplyCategoryVo category);
	
	/**
	 * 查询所有
	 * @return
	 */
	public OmsPage<SupplyCategoryVo> findByCategory(SupplyCategoryVo category,Integer page,Integer size);
	
	/**
	 * 返回集合
	 * @param category
	 * @return
	 */
	public List<SupplyCategoryVo> findByCategoryList(SupplyCategoryVo category);
}
